#!/bin/bash
#

sudo dnf install libtool xorg-x11-server-Xvfb libXext
sudo dnf install make gcc python3-rpm-macros python3-libxml2

cd  libglvnd-1.3.4
autoreconf -vif
./configure --program-prefix= --disable-dependency-tracking \
    --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share \
    --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var \
    --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --enable-asm --enable-tls
make
sudo make install
